package com.example.demo2022.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo2022.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface RoleMapper extends BaseMapper<Role> {
    Set<Long> listRoleIdByUserId(@Param("userId") Long userId);

}
